package cn.getech.data.development.model.vo;

import cn.getech.data.development.utils.spring.CustomerDoubleSerialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CMClusterQueueVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("横坐标时间")
    private Date x;

    @ApiModelProperty("使用量单位MB 转为G")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double y;

    @ApiModelProperty("总内存数单位MB 转为G")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double totalMemoryMb;

    @ApiModelProperty("队列名称")
    private String queueName;
}
